﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using TyMES.Model.Record;
using TyMES.Model;

namespace TyMES.ViewModel.Record.TrayBindVSNVMs
{
    public partial class TrayBindVSNTemplateVM : BaseTemplateVM
    {
        
        [Display(Name = "_Model._TrayBindVSN._TrayCode")]
        public ExcelPropety TrayCode_Excel = ExcelPropety.CreateProperty<TrayBindVSN>(x => x.TrayCode);
        [Display(Name = "_Model._TrayBindVSN._VSN")]
        public ExcelPropety VSN_Excel = ExcelPropety.CreateProperty<TrayBindVSN>(x => x.VSN);
        [Display(Name = "_Model._TrayBindVSN._orderCode")]
        public ExcelPropety OrderCode_Excel = ExcelPropety.CreateProperty<TrayBindVSN>(x => x.OrderCode);
        [Display(Name = "_Model._TrayBindVSN._lineCode")]
        public ExcelPropety LineCode_Excel = ExcelPropety.CreateProperty<TrayBindVSN>(x => x.LineCode);
        [Display(Name = "_Model._TrayBindVSN._TrayStation")]
        public ExcelPropety TrayStation_Excel = ExcelPropety.CreateProperty<TrayBindVSN>(x => x.TrayStation);
        [Display(Name = "_Model._TrayBindVSN._OnLineStation")]
        public ExcelPropety OnLineStation_Excel = ExcelPropety.CreateProperty<TrayBindVSN>(x => x.OnLineStation);
        [Display(Name = "_Model._TrayBindVSN._OffLineStation")]
        public ExcelPropety OffLineStation_Excel = ExcelPropety.CreateProperty<TrayBindVSN>(x => x.OffLineStation);
        [Display(Name = "_Model._TrayBindVSN._BindStatus")]
        public ExcelPropety BindStatus_Excel = ExcelPropety.CreateProperty<TrayBindVSN>(x => x.BindStatus);
        [Display(Name = "_Model._TrayBindVSN._increaseCode")]
        public ExcelPropety IncreaseCode_Excel = ExcelPropety.CreateProperty<TrayBindVSN>(x => x.IncreaseCode);
        [Display(Name = "_Model._TrayBindVSN._uploadflag")]
        public ExcelPropety Uploadflag_Excel = ExcelPropety.CreateProperty<TrayBindVSN>(x => x.Uploadflag);
        [Display(Name = "_Model._TrayBindVSN._ScheduleCode")]
        public ExcelPropety ScheduleCode_Excel = ExcelPropety.CreateProperty<TrayBindVSN>(x => x.ScheduleCode);
        [Display(Name = "_Model._TrayBindVSN._CreateTime")]
        public ExcelPropety CreateTime_Excel = ExcelPropety.CreateProperty<TrayBindVSN>(x => x.CreateTime, true);
        [Display(Name = "_Model._TrayBindVSN._UpdateTime")]
        public ExcelPropety UpdateTime_Excel = ExcelPropety.CreateProperty<TrayBindVSN>(x => x.UpdateTime, true);
        [Display(Name = "_Model._TrayBindVSN._CreateBy")]
        public ExcelPropety CreateBy_Excel = ExcelPropety.CreateProperty<TrayBindVSN>(x => x.CreateBy);
        [Display(Name = "_Model._TrayBindVSN._UpdateBy")]
        public ExcelPropety UpdateBy_Excel = ExcelPropety.CreateProperty<TrayBindVSN>(x => x.UpdateBy);

	    protected override void InitVM()
        {
            
        }

    }

    public class TrayBindVSNImportVM : BaseImportVM<TrayBindVSNTemplateVM, TrayBindVSN>
    {
            //import

    }

}